package com.financial.service.heemoney.controller.split;

import com.financial.service.heemoney.dto.inparameter.HeemoneySplitAccountInParamDTO;
import com.financial.service.heemoney.service.FinancialSplitAccountHeemoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 金融中心汇收银注册付款分账业务表
 * 
 * @author zhaopengjun
 * @email dashuaizhao@aliyun.com
 * @date 2020-03-18 17:02:26
 */
 
@RestController
@RequestMapping("/heemoneySplitAccount")
public class HeemoneySplitAccountController {
	@Autowired
	private FinancialSplitAccountHeemoneyService financialSplitAccountHeemoneyService;

	@PostMapping("/splitAccount")
	public Map<String, Object> splitAccount(@RequestParam HeemoneySplitAccountInParamDTO heemoneySplitAccountInParamDTO ) {
		return financialSplitAccountHeemoneyService.splitAccount(heemoneySplitAccountInParamDTO);
	}

	

	
}
